package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hzd
 * @since 2023-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("platform_msg")
@ApiModel(value="PlatformMsg对象", description="")
public class PlatformMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "平台账号")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "平台密码")
    private String pwd;

    @ApiModelProperty(value = "平台名称")
    @TableField("platform_name")
    private String platformName;

    @ApiModelProperty(value = "地址")
    @TableField("platform_url")
    private String platformUrl;

    @ApiModelProperty(value = "使用接口")
    @TableField("platform_api")
    private String platformApi;

    @ApiModelProperty(value = "使用说明")
    @TableField("platform_explain")
    private String platformExplain;

    @ApiModelProperty(value = "价格")
    @TableField("platform_price")
    private BigDecimal platformPrice;

    @ApiModelProperty(value = "到期日期")
    @TableField("platform_time")
    private String platformTime;

    @ApiModelProperty(value = "负责人")
    @TableField("platform_curator")
    private String platformCurator;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    @ApiModelProperty(value = "是否删除")
    @TableField("is_del")
    private Integer isDel;
}
